package com.mornd.gulimall.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mornd.gulimall.product.entity.Brand;
import com.mornd.gulimall.product.entity.Category;
import com.mornd.gulimall.product.entity.CategoryBrandRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 品牌分类关联 服务类
 * </p>
 *
 * @author mornd
 * @since 2023-07-23
 */
public interface ICategoryBrandRelationService extends IService<CategoryBrandRelation> {

    IPage<CategoryBrandRelation> cateGoryList(CategoryBrandRelation relation);

    void updateBrand(Brand brand);

    void updateCategory(Category category);

    boolean batchSave(CategoryBrandRelation entity);
}
